import Vue from 'vue'
import App from './App'
import api from "@/api/index"
import uView from '@/uni_modules/uview-ui'

Vue.config.productionTip = false

App.mpType = 'app'



Vue.use(uView)
const mqtt = require('mqtt/dist/mqtt.js')

Vue.prototype.$mqtt = mqtt
Vue.prototype.$api = api;



const app = new Vue({
	...App,
})
app.$mount()
